home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / AOCE Sample Code / PowerTalk Access Modules / Sample PMSAM / PMSAM Framework / RoboSamSlot / CReport.h < prev    next >
Encoding:
Text File  |  1995-07-28  |  992 b   |  53 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        CReport.h
  3.  
  4.     Contains:    xxx put contents here xxx
  5.  
  6.     Written by:    Tim Harnett
  7.  
  8.     Copyright:    © 1994 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.          <1>    12/12/94    TMH        seperated for MailHandler.cp
  13.                  12/5/94    TMH        xxx put comment here xxx
  14.  
  15.     To Do:
  16. */
  17.  
  18.  
  19. //••• CAUTION : make sure the destructor is called or submit is called
  20.  
  21. #ifndef __CReport__
  22. #define __CReport__
  23.  
  24. #ifndef __CRecipientIterator__
  25. #include "CRecipientIterator.h"
  26. #endif
  27.  
  28.  
  29. //----------------------------
  30. //        C R e p o r t
  31. //----------------------------
  32.  
  33. //--------------------------------------------------------------------------
  34. class CReport {
  35. public:
  36.             CReport(MailMsgRef msgRef,MailLetterID letterID);
  37.             ~CReport();
  38.     OSErr     Create();
  39.     OSErr     PutRecipientReport(OSErr reportErr,ResolvedRecipient* recipient);
  40.     OSErr     Submit(Boolean submit=true);
  41.     
  42. private:
  43.     MailLetterID     fLetterID;
  44.     MailMsgRef         fMsgRef;
  45.     
  46.     MailMsgRef         fReportRef;
  47.     MSAMParam         fPB;
  48.  
  49. };
  50.  
  51.  
  52. #endif __CReport__
  53.